package com.huawei.fastengine.fastview.download.download.bean;

public class DownloadRequest {
    private String hash;
    private boolean needCheck;
    private int size = -1;
    private String url;

    public DownloadRequest(String str) {
        this.url = str;
    }

    public DownloadRequest(String str, int i) {
        this.url = str;
        this.size = i;
    }

    public DownloadRequest(String str, boolean z, String str2) {
        this.url = str;
        this.needCheck = z;
        this.hash = str2;
    }

    public String getHash() {
        return this.hash;
    }

    public int getSize() {
        return this.size;
    }

    public String getUrl() {
        return this.url;
    }

    public boolean isNeedCheck() {
        return this.needCheck;
    }

    public void setHash(String str) {
        this.hash = str;
    }

    public void setNeedCheck(boolean z) {
        this.needCheck = z;
    }

    public void setSize(int i) {
        this.size = i;
    }

    public void setUrl(String str) {
        this.url = str;
    }
}
